﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZH.Infrastructure.Attr;
using ZH.Infrastructure.Dto.Request.Login;
using ZH.Infrastructure.Dto.Response;
using ZH.Infrastructure.Dto.Response.admin;

namespace ZH.Service.Interface
{
    [Provider_]
    public interface I_Login_Service
    {
        Task<Api_Response_Dto> Init_Users();
        /// <summary>
        /// 检查登录
        /// </summary>
        /// <param name="code"></param>
        /// <returns></returns>

        User_Response_Dto Check_Login(string code, string account);
        /// <summary>
        /// 管理员登录
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Response_Dto> Logins(Login_Request_Dto dto);
        Task<Api_Response_Dto> HQTJ();
    }
}
